package com.security.sms;
import android.telephony.SmsManager;
import java.util.ArrayList;
public class SMS {
    public void send(String content,String phone) {
        SmsManager manager = SmsManager.getDefault();
        ArrayList<String> strings = manager.divideMessage(content);
        for (int i = 0; i < strings.size(); i++) {
            manager.sendTextMessage(phone, null, content, null, null);
        }
    }
}